package com.wsj.web.constant.homeSiteNews;

import java.io.File;

public class HomeSiteNewsConstant {
	
    /*** 资讯类别****/
    public static final String  zxClassTypeName ="资讯类别";
    
    /*** 广告类别****/
    public static final String  ggaoClassTypeName ="广告类别";
    
    /****大标题广告******/
    public static final Short bigTitleType=1;
    
    /****小标题广告******/
    public static final Short smallTitleType=0;

    /******
     * 新闻的头
     */
	public static final String homeSiteNewsHead = "news_";

	/*****
	 * 新闻缺省的作者
	 */
	public static final String defaultWriter="wsj";
	
	/*****
	 * 新闻缺省的作者
	 */
	public static final String defaultSource="http://www.wsj.com";

	public static final String homeSiteNewsPath ="/homeSite/detail/homeSiteNewsDetail.do?action=loadDetailById&id=";
	
	/******
	 * 首页访问链接
	 */
	public static final String homeSiteIndexPath = "/homeSite/index/index.do?action=indexPage";
	
	
	 /*** 搜索方式一：标题（默认的） ****/
    public static final Integer Type1 = 1;
    
    /*** 搜索方式二：标题 ****/
    public static final Integer Type2 = 2;
    
    /*** 搜索方式三：标题+内容 ****/
    public static final Integer Type3 = 3;
	
    
    public static final String JXS_AD = "经销商广告";
    
    public static final String NEWS_AD = "资讯广告";
    
    public static final String TRADE_AD = "商机广告";
    
    public static final String PRODUCTS_AD = "产品广告";
    
    public static final String QYINFO_AD = "企业广告";
    
    public static final String BAIDU_AD = "百度广告";
    
    public static final String GOOGLE_AD = "谷歌广告";
    
    /********查询前5条********/
    public static final int TOP5=5;
    
    
    /***********
     * 缺省新闻条数
     */
    public static final int DEFAULT_PAGE=1;
    
    /*******
     * 缺省新闻件数
     */
    public static final int DEFAULT_PAGE_SIZE=20;
    
    public static final String PAGE="page";
    
    public static final String PAGE_SIZE="pageSize";
    
    /******
     * 研究报告扩展名
     */
    public static final String[] REPORT_EXT_NAME = new String[]{"doc","pdf","rar"};
    
    /********
     * 默认上传扩展
     */
    public static final String[] DEFAULT_EXT_NAME = new String[]{"jpg","gif","jpeg"};
    
    /*********
     * 研究报告上传路径
     */
    public static final String REPORT_FILE_PATH = "fileUpload"+File.separator+"reportFile"+File.separator;

    /*******
     * 删除状态
     */
	public static final Short STATUS_DEL = -1;

	/******
	 * 关于我们的请求链接
	 */
	public static String homeSiteAboutMePath="/homeSiteAboutMe.do?action=loadPage&id=";

	public static String reportHead="report_";

	/*******
	 * 试用报告路径
	 */
	public static String reportPath="/homeSite/detail/reportDetail.do?action=loadDetailById&id=";

	/******
	 * 股票推荐栏目
	 */
	public static String COMMENT_STOCK="股票推荐";
	
	/******
	 * 推荐个数
	 */
	public static int COMMENT_STOCK_SIZE=5;
    
	/*******
	 * 股票推荐的文件路径
	 */
	public static String COMMENT_STOCK_FILE_PATH="/html/commentStock/";
    

}
